package com.gzucm.Scholarship.dao;

import com.gzucm.Scholarship.common.base.BaseDao;
import com.gzucm.Scholarship.entity.UserInfo;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface UserDao extends BaseDao<UserInfo, String> {

    UserInfo findByLoginName(String name);

    List<UserInfo> findByAccountIn(List<String> accountList);

    List<UserInfo> findByType(Integer code);
}
